package com.booby.design.templateMethod;

/**
 * 功能描述: 手机抽象方法模板
 *
 * @author: lizt
 * @date: 2019-06-30 16:58
 **/

public abstract class Mobile {

    abstract void startUp();

    abstract void run();

    abstract void shutDown();

    void work(){

        startUp();
        run();
        shutDown();
    }

}
